package com.zzty.train.serviceImpl;


import com.zzty.train.dao.TeamExamDao;
import com.zzty.train.entity.TeamExam;
import com.zzty.train.service.TeamExamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TeamExamServiceImpl implements TeamExamService {
    @Autowired
    TeamExamDao teamExamMapper;

    @Override
    public TeamExam checkByDateAndClazzId(TeamExam teamExam) {
        TeamExam teamExam1=teamExamMapper.checkByDateAndClazzId(teamExam);
        return  teamExam1;
    }

    @Override
    public Integer insertTeamExam(TeamExam teamExam) {
        Integer count=teamExamMapper.insertTeamExam(teamExam);
        return count;
    }
}
